<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加车辆</title>
    <link rel="stylesheet" href="https://cdn.staticfile.net/twitter-bootstrap/4.6.2/css/bootstrap.css">
</head>
<body>
<div  style="width: 500px;margin: 100px auto 0;">
    <h2 class="text-center">添加车辆</h2>
    <form action="${pageContext.request.contextPath}/AddServlet">
        <div class="form-group">
            <label for="exampleInputEmail1">车名</label>
            <input type="text" name="name" class="form-control" id="exampleInputEmail1">
        </div>
        <div class="form-group">
            <label for="color">颜色</label>
            <input type="text" name="color" class="form-control" id="color">
        </div>
        <div class="form-group">
            <label for="speed">车速</label>
            <input type="text" name="speed" class="form-control" id="speed">
        </div>
        <div class="form-group">
            <label for="birthday">生产年份</label>
            <input type="date" name="birthday" class="form-control" id="birthday">
        </div>
        <div class="form-group">
            <label for="price">价格</label>
            <input type="text" name="price" class="form-control" id="price">
        </div>
        <div class="text-center"><button type="submit" class="btn btn-primary">添加车辆</button></div>
    </form>
</div>
</body>
</html>
